package com.example.data.holidays;

public class HolidaysVO extends Holidays{
    public HolidaysVO(){
        super();
    }
    public static Holidays convert(Holidays holidays){
        Holidays holidaysInfo = new HolidaysVO();
        holidaysInfo.setEmpID(holidays.getEmpID());
        holidaysInfo.setAvailableHolidays(holidays.getAvailableHolidays());
        holidaysInfo.setRestHolidays(holidays.getRestHolidays());
        return holidaysInfo;
    }
}
